import request from './../utils/request'

export function getBanner () {
  return request.get('/banner/banlist')
}

export function getBannerOne (params) {
  return request.get('/banner/bannerOne',{params})
}

export function addBanner (params) {
  return request.post('/banner/addBan',params)
}

export function deleteBanner (params) {
  return request.get('/banner/deleteBan',{params})
}

export function editBanner (params) {
  return request.post('/banner/editBan',params)
}